.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;

  & .label {
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--color-foreground-subtle);
  }

  & .buttons {
    display: flex;
    column-gap: 4px;
    align-items: center;
  }
}

.textarea {
  width: 100%;
  height: 350px;
  padding: 12px;
  line-height: 1.6;
  color: var(--color-foreground-subtle);
  resize: none;
  background-color: var(--color-neutral-50);
  border: 1px solid var(--color-neutral-200);
  border-radius: 4px;
  outline: none;
  scroll-padding-bottom: 12px;

  &:focus-visible {
    outline: 2px solid var(--color-neutral-400);
    outline-offset: 2px;
  }
}

.counter {
  margin-top: 8px;
  font-size: var(--font-xsm);
  color: var(--color-foreground-subtle);
  text-align: center;
}
